cloud-initramfs-growroot software package provides automatically resize the root partition on first boot, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install cloud-initramfs-growroot
cloud-initramfs-growroot is installed in your system.
Make ensure the cloud-initramfs-growroot package were installed using the commands given below,
$ sudo dpkg-query -l | grep cloud-initramfs-growroot *
You will get with cloud-initramfs-growroot package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Administration Utilities |
| Package | cloud-initramfs-growroot |
| Version | 0.27ubuntu1 |
| Description | automatically resize the root partition on first boot |
| Sub Section | admin |